<template>
  <div>
    <categroy />
    <el-card style="margin-top: 10px;">
      <el-button type="primary" icon="plus">新增spu</el-button>
      <vue-table style="margin-top: 10px;" :loading="tableLoading" :pageInfo="pageInfo" :tableHeade="tableHeade" :tableData="tableData" :operationList="operationList" :border="true">
      </vue-table>
    </el-card>
  </div>
</template>
<script setup lang="ts">
  const tableHeade = [{}]
  let tableData = [{}]
  let tableLoading = ref<boolean>(false)
  const operationList = reactive([
    { name: '编辑', index: 1, isShow: true},
    // { name: '编辑', index: 2, isShow: true},
    { name: '删除', index: 2, color: 'red', isShow: true}
  ])
  let pageInfo = reactive({
    total: 0,
    page: 1,
    limit: 10

  })
</script>
<style scoped lang="scss">
</style>
